﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000A99 RID: 2713
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class LockRelicCsReq : IMessage<LockRelicCsReq>, IMessage, IEquatable<LockRelicCsReq>, IDeepCloneable<LockRelicCsReq>, IBufferMessage
	{
		// Token: 0x17002234 RID: 8756
		// (get) Token: 0x0600794B RID: 31051 RVA: 0x00143AA1 File Offset: 0x00141CA1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<LockRelicCsReq> Parser
		{
			get
			{
				return LockRelicCsReq._parser;
			}
		}

		// Token: 0x17002235 RID: 8757
		// (get) Token: 0x0600794C RID: 31052 RVA: 0x00143AA8 File Offset: 0x00141CA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return LockRelicCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002236 RID: 8758
		// (get) Token: 0x0600794D RID: 31053 RVA: 0x00143ABA File Offset: 0x00141CBA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return LockRelicCsReq.Descriptor;
			}
		}

		// Token: 0x0600794E RID: 31054 RVA: 0x00143AC1 File Offset: 0x00141CC1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LockRelicCsReq()
		{
		}

		// Token: 0x0600794F RID: 31055 RVA: 0x00143AD4 File Offset: 0x00141CD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LockRelicCsReq(LockRelicCsReq other) : this()
		{
			this.isProtected_ = other.isProtected_;
			this.relicUniqueIdList_ = other.relicUniqueIdList_.Clone();
			this.fJKGBMGLLGL_ = other.fJKGBMGLLGL_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007950 RID: 31056 RVA: 0x00143B21 File Offset: 0x00141D21
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LockRelicCsReq Clone()
		{
			return new LockRelicCsReq(this);
		}

		// Token: 0x17002237 RID: 8759
		// (get) Token: 0x06007951 RID: 31057 RVA: 0x00143B29 File Offset: 0x00141D29
		// (set) Token: 0x06007952 RID: 31058 RVA: 0x00143B31 File Offset: 0x00141D31
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool IsProtected
		{
			get
			{
				return this.isProtected_;
			}
			set
			{
				this.isProtected_ = value;
			}
		}

		// Token: 0x17002238 RID: 8760
		// (get) Token: 0x06007953 RID: 31059 RVA: 0x00143B3A File Offset: 0x00141D3A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> RelicUniqueIdList
		{
			get
			{
				return this.relicUniqueIdList_;
			}
		}

		// Token: 0x17002239 RID: 8761
		// (get) Token: 0x06007954 RID: 31060 RVA: 0x00143B42 File Offset: 0x00141D42
		// (set) Token: 0x06007955 RID: 31061 RVA: 0x00143B4A File Offset: 0x00141D4A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool FJKGBMGLLGL
		{
			get
			{
				return this.fJKGBMGLLGL_;
			}
			set
			{
				this.fJKGBMGLLGL_ = value;
			}
		}

		// Token: 0x06007956 RID: 31062 RVA: 0x00143B53 File Offset: 0x00141D53
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as LockRelicCsReq);
		}

		// Token: 0x06007957 RID: 31063 RVA: 0x00143B64 File Offset: 0x00141D64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(LockRelicCsReq other)
		{
			return other != null && (other == this || (this.IsProtected == other.IsProtected && this.relicUniqueIdList_.Equals(other.relicUniqueIdList_) && this.FJKGBMGLLGL == other.FJKGBMGLLGL && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007958 RID: 31064 RVA: 0x00143BC4 File Offset: 0x00141DC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.IsProtected)
			{
				num ^= this.IsProtected.GetHashCode();
			}
			num ^= this.relicUniqueIdList_.GetHashCode();
			if (this.FJKGBMGLLGL)
			{
				num ^= this.FJKGBMGLLGL.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007959 RID: 31065 RVA: 0x00143C2A File Offset: 0x00141E2A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600795A RID: 31066 RVA: 0x00143C32 File Offset: 0x00141E32
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600795B RID: 31067 RVA: 0x00143C3C File Offset: 0x00141E3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.IsProtected)
			{
				output.WriteRawTag(48);
				output.WriteBool(this.IsProtected);
			}
			this.relicUniqueIdList_.WriteTo(ref output, LockRelicCsReq._repeated_relicUniqueIdList_codec);
			if (this.FJKGBMGLLGL)
			{
				output.WriteRawTag(88);
				output.WriteBool(this.FJKGBMGLLGL);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600795C RID: 31068 RVA: 0x00143CA8 File Offset: 0x00141EA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.IsProtected)
			{
				num += 2;
			}
			num += this.relicUniqueIdList_.CalculateSize(LockRelicCsReq._repeated_relicUniqueIdList_codec);
			if (this.FJKGBMGLLGL)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600795D RID: 31069 RVA: 0x00143CFC File Offset: 0x00141EFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(LockRelicCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.IsProtected)
			{
				this.IsProtected = other.IsProtected;
			}
			this.relicUniqueIdList_.Add(other.relicUniqueIdList_);
			if (other.FJKGBMGLLGL)
			{
				this.FJKGBMGLLGL = other.FJKGBMGLLGL;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600795E RID: 31070 RVA: 0x00143D5D File Offset: 0x00141F5D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600795F RID: 31071 RVA: 0x00143D68 File Offset: 0x00141F68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 64U)
				{
					if (num == 48U)
					{
						this.IsProtected = input.ReadBool();
						continue;
					}
					if (num == 64U)
					{
						goto IL_3F;
					}
				}
				else
				{
					if (num == 66U)
					{
						goto IL_3F;
					}
					if (num == 88U)
					{
						this.FJKGBMGLLGL = input.ReadBool();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				continue;
				IL_3F:
				this.relicUniqueIdList_.AddEntriesFrom(ref input, LockRelicCsReq._repeated_relicUniqueIdList_codec);
			}
		}

		// Token: 0x04002E65 RID: 11877
		private static readonly MessageParser<LockRelicCsReq> _parser = new MessageParser<LockRelicCsReq>(() => new LockRelicCsReq());

		// Token: 0x04002E66 RID: 11878
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002E67 RID: 11879
		public const int IsProtectedFieldNumber = 6;

		// Token: 0x04002E68 RID: 11880
		private bool isProtected_;

		// Token: 0x04002E69 RID: 11881
		public const int RelicUniqueIdListFieldNumber = 8;

		// Token: 0x04002E6A RID: 11882
		private static readonly FieldCodec<uint> _repeated_relicUniqueIdList_codec = FieldCodec.ForUInt32(66U);

		// Token: 0x04002E6B RID: 11883
		private readonly RepeatedField<uint> relicUniqueIdList_ = new RepeatedField<uint>();

		// Token: 0x04002E6C RID: 11884
		public const int FJKGBMGLLGLFieldNumber = 11;

		// Token: 0x04002E6D RID: 11885
		private bool fJKGBMGLLGL_;
	}
}
